package day006.homework;

import java.util.Scanner;

public class Test01 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入行数：");
        int rows = sc.nextInt();
        System.out.println("请输入列数：");
        int cols = sc.nextInt();
        for (int i = 0; i < rows; i++) {
            for (int j = 0; j < cols; j++) {
                System.out.print("#");
            }
            System.out.println();
        }
    }
}
